Loading and Recording

Essential functionality in the Web Audio API is the ability to play back audio from a stream or a file, and to record or stream the output of a node. Here, we introduce audio nodes that enable getting audio into an audio context from different sources, like media streams and media elements, as well as into buffers using decodeAudioData, and to different destinations, like media streams and audio files. Some of the functionality also relies on methods from outside the Web Audio API, like getUserMedia from the MediaStream API.